
import request from '@/utils/request'

// 获取歌单详情列表
export function recommendPlaylist(params) {
  params.timestamp = +new Date()
  return request({
    url: '/playlist/detail',
    method: 'get',
    params
  })
}

// 获取歌单
export function huoqugedan(params) {
  return request({
    url: 'personalized',
    method: 'get',
    params
  })
}

// 获取歌单所有歌曲
export function getSongList(params) {
  return request({
    url: '/playlist/track/all',
    method: 'get',
    params
  })
}
